body{
    background: #f5f5f5;
}
.jd_layout{
    width: 100%;
    /*最大宽度*/
    max-width: 640px;  /* 在行业当中长使用的设计稿 psd 的尺寸是 640px   750px*/
    /*最小宽度*/
    min-width: 300px;  /*保证最基本的布局*/
    margin: 0 auto;
}
/*搜索区块*/
.jd_header{
    position: fixed;/*定位基准是以 window的宽度为基准 定位也是*/
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1;
}
.jd_header_box{
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    height: 40px;
    background: rgba(201,21,35,0);
    position: relative;
}
.jd_header_box .icon_logo{
    background-position: 0 -103px;
    width: 60px;
    height: 36px;
    position: absolute;
    top: 4px;
    left: 10px;
}
.jd_header_box .login{
    width: 50px;
    height: 40px;
    position: absolute;
    top: 0;
    right:0;
    color: #fff;
    text-align: center;
    line-height: 40px;
}
.jd_header_box form{
    width: 100%;
    padding-left: 75px;
    padding-right: 50px;
    position: relative;
}
.jd_header_box form input{
    width: 100%;/*子容器的宽度的计算是已父容器的内容宽度做基准*/
    height: 30px;
    margin-top: 5px;
    border-radius: 15px;
    padding-left: 25px;
}
.jd_header_box form .icon_search{
    background-position:-60px -109px;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 80px;
}
/*轮播图*/
.jd_banner{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.jd_banner ul:first-child{
    width: 1000%;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
}
.jd_banner ul:first-child li{
    float: left;
    width: 10%;
}
.jd_banner ul:first-child li a{
    width: 100%;
    display: block;
}
.jd_banner ul:first-child li a img{
    width: 100%;
    display: block;/*去除间隙;font-size: 0px;vertical-align: top; */
}
.jd_banner ul:last-child{
    width: 118px;
    height: 6px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left: -59px;
    /*-webkit-transform: translateX(-50%);*/
    /*transform: translateX(-50%);*/
}
.jd_banner ul:last-child li{
    width: 6px;
    height: 6px;
    border-radius: 3px;
    border: 1px solid #fff;
    float: left;
    margin-left: 10px;
}
.jd_banner ul:last-child li:first-child{
    margin-left: 0;
}
.jd_banner ul:last-child li.now{
    background: #fff;
}

/*导航栏*/
.jd_nav{
    width: 100%;
    padding: 15px 10px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.jd_nav ul{
    width: 100%;
}
.jd_nav ul li{
    width: 25%;
    float: left;
}
.jd_nav ul li a{
    display: block;
    width: 100%;
}
.jd_nav ul li a img{
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}
.jd_nav ul li a p{
    font-size: 12px;
    color: #666;
    text-align: center;
    padding: 6px 0;
}
/*商品大区块*/
.jd_product{
    padding: 0 5px;
}

/*商品子盒子  公用的css*/
.product_box{
    margin-top: 10px;
    box-shadow:0 0 2px 0 #e0e0e0;
    min-height: 200px;
    background: #fff;
}
.product_box .product_tit{
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #e0e0e0;
}
.product_box .product_tit.no_border{
    border-bottom: none;
}
.product_box .product_tit h3{
    font-size: 15px;
    position: relative;
    font-weight: normal;
    color: #666;
    padding-left: 18px;
}
.product_box .product_tit h3::before{
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 3px;
    height: 12px;
    background: #D8505C;
}

/*秒杀区块 以sk开头样式都是秒杀区块  second kill*/
.sk_icon{
    background: url("../images/seckill-icon.png") no-repeat;
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
    float: left;
    margin-top: 7px;
}
.sk_word{
    float: left;
    color: #D8505C;
    font-size: 15px;
}
.sk_time{
    float: left;
}
.sk_time span{
    height: 15px;
    line-height: 15px;
    width: 15px;
    text-align: center;
    background: #333;
    float: left;
    margin-right: 3px;
    color: #fff;
    margin-top: 8px;
}
.sk_time span:nth-child(3n){
    background: #fff;
    width: 3px;
    color: #333;
}
.sk_product{
    width: 100%;
    padding: 15px 0;
}
.sk_product li{
    width: 33.33333%;
    float: left;
    font-size: 12px;
    text-align: center;
}
.sk_product li a{
    width: 100%;
    display: block;
    border-right: 1px solid #e0e0e0;
}
.sk_product li:last-child a{
    border-right: none;
}
.sk_product li a img{
    width: 64%;
    margin: 0 auto;
    display: block;
}
/*
.sk_product li .new_price{
    color: #D8505C;
    padding-top: 8px;
}
.sk_product li .old_price{
    color: #666;
    text-decoration: line-through;
    padding-top: 8px;
}
*/
/*
    E:first-of-type  选择到E类型的同级的第一个元素
    E:nth-of-type    选择到E类型的同级的第N个元素
    E:last-of-type  选择到E类型的同级的最后一个元素
*/
.sk_product li p:first-of-type{
    color: #D8505C;
    padding-top: 8px;
}
.sk_product li p:last-of-type{
    color: #666;
    text-decoration: line-through;
    padding-top: 8px;
}

/*组和样式*/
.w_50{
    width: 50%;
    display: block;
}
.w_50 img{
    width: 100%;
    display: block;
}
.b_left{
    border-left: 1px solid #e0e0e0;
}
.b_right{
    border-right: 1px solid #e0e0e0;
}
.b_bottom{
    border-bottom: 1px solid #e0e0e0;
}



.jd-footer-space{
    width: 100%;
    height: 60px;
}
/*jd-footer  css*/
.jd-footer {
    width: 100%;
    height: 50px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
}
.jd-footer .jd-footer-nav {
    width: 100%;
    height: 50px;
    max-width: 640px;
    min-width:300px;
    margin: 0 auto;
    background-color: #fff;
}
.jd-footer .jd-footer-nav ul {
    width: 100%;
}
.jd-footer .jd-footer-nav ul li {
    width: 20%;
    float: left;
}
.jd-footer .jd-footer-nav ul li a {
    display: block;
    width: 100%;
}
.jd-footer .jd-footer-nav ul li a img{
    width: 70px;
    height: 50px;
    display: block;
    margin: 0 auto;
}
